package com.sz.designpattern.create5.absfactory;

import com.sz.designpattern.create5.absfactory.iiterface.IPhoneProduct;
import com.sz.designpattern.create5.absfactory.iiterface.IProductFactory;
import com.sz.designpattern.create5.absfactory.iiterface.IRouterProduct;

public class HuaWeiFactory implements IProductFactory {
    @Override
    public IPhoneProduct getPhoneProduct() {
        return new HuaWeiPhoneProduct();
    }

    @Override
    public IRouterProduct getRouterProduct() {
        return new HuaWeiRouterProduct();
    }
}
